package com.aiit.service.impl;

import com.aiit.dao.ILingJianDao;
import com.aiit.pojo.LingJian;
import com.aiit.pojo.NameValue;
import com.aiit.service.ILingJianService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;

@Service
public class LingJianServiceImpl extends ServiceImpl<ILingJianDao, LingJian> implements ILingJianService {
    @Autowired
    ILingJianDao lingJianDao;


    @Override
    public List<LingJian> queryAll() {
        return lingJianDao.selectList(null);
    }

    @Override
    public List<LingJian> queryAll2() {
        return lingJianDao.selectList2();
    }

    @Override
    public List<NameValue> queryAllNN() {
        return lingJianDao.queryAllNN();
    }

}
